﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZH.Infrastructure.Attr;
using ZH.Infrastructure.Dto.Request.Login;
using ZH.Infrastructure.Dto.Request.Mobile;
using ZH.Infrastructure.Dto.Response;
using ZH.Infrastructure.Dto.Response.admin;
using ZH.Infrastructure.Dto.Response.Promotion;

namespace ZH.Service.Interface
{
    [Provider_]
    public interface I_Mobile_Service
    {
        Task<Api_Response_Dto> Add_copywriting(Copywriting_Response_Dto dto);

        /// <summary>
        /// 获取当前登录的用户
        /// </summary>
        /// <param name="code"></param>
        /// <param name="account"></param>
        /// <returns></returns>
        User_Response_Dto? Check_Login(string? code, string account);
        Task<Api_Response_Dto> delete_copywriting(string id);

        /// <summary>
        /// 获取所有未注册的客户列表
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limt"></param>
        /// <param name="key"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> get_Nmoble(int? page, int? limit, string? key);
        Task<Api_Response_Dto> Get_Rmoble(int? page, int? limit, string? key);

        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Response_Dto> Logins(Login_Request_Dto dto);
        Api_Response_Dto Register(string email, string password, string phone);
        Task<Api_Response_Dto> update_copywriting(Copywriting_Response_Dto dto);


        Task<Api_Response_Dto> Get_Cashier_Single_Mobile(string phone);
        Task<Api_Response_Dto> Cashier_Add_Mobile(Mobile_Cashier_Request_Dto dto);
    }
}
